Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update hybrid search weights #231

Merged
merged 2 commits into from
Jul 22, 2024
Merged

Update hybrid search weights #231

merged 2 commits into from
Jul 22, 2024

Conversation

mbklein
Copy link
Contributor

@mbklein mbklein commented Jul 22, 2024

  • Change weights to keyword 0.25, neural 0.75

Per clarifying conversation with @davidschober:

  • Remove title subquery
    • replace titles with all_titles in primary keyword search
    • add ENGLISH analyzer to primary keyword search

@mbklein mbklein requested review from kdid and bmquinn July 22, 2024 16:41
@mbklein mbklein force-pushed the 5058-update-weights branch from 77a0ad8 to 8231c65 Compare July 22, 2024 16:43
@@ -47,7 +43,7 @@ def hybrid_query(query: str, model_id: str, vector_field: str = "embedding", k:
"normalization-processor": {
"combination": {
"parameters": {
"weights": weights
"weights": [0.25, 0.75]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More of a question, but these also have to be updated in Meadow terraform, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bmquinn bmquinn merged commit 6c84bdc into deploy/staging Jul 22, 2024
1 check passed
@bmquinn bmquinn deleted the 5058-update-weights branch July 22, 2024 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants